package com.openlogic.common.plugins.db.api.dto;

import java.io.Serializable;

/**
 * @ClassName: BaseDataSourceColumnDto
 * @Description: 基础数据源元信息-列
 * @author weiyongpeng
 * @date 2024年11月16日 下午9:13:45
 */
public class BaseDataSourceColumnDto implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 列名
	 */
	private String colName;

	/**
	 * 数据类型
	 */
	private String dataType;

	/**
	 * 数据长度
	 */
	private String dataLength;

	/**
	 * 数据精度
	 */
	private String dataPrecision;

	/**
	 * 数据小数位
	 */
	private String dataScale;

	/**
	 * 是否主键
	 */
	private Boolean colKey;

	/**
	 * 是否允许为空
	 */
	private Boolean nullable;

	/**
	 * 列的序号
	 */
	private Integer colPosition;

	/**
	 * 列默认值
	 */
	private String dataDefault;

	/**
	 * 列注释
	 */
	private String colComment;

	public String getColName() {
		return colName;
	}

	public void setColName(String colName) {
		this.colName = colName;
	}

	public String getDataType() {
		return dataType;
	}

	public void setDataType(String dataType) {
		this.dataType = dataType;
	}

	public String getDataLength() {
		return dataLength;
	}

	public void setDataLength(String dataLength) {
		this.dataLength = dataLength;
	}

	public String getDataPrecision() {
		return dataPrecision;
	}

	public void setDataPrecision(String dataPrecision) {
		this.dataPrecision = dataPrecision;
	}

	public String getDataScale() {
		return dataScale;
	}

	public void setDataScale(String dataScale) {
		this.dataScale = dataScale;
	}

	public Boolean getColKey() {
		return colKey;
	}

	public void setColKey(Boolean colKey) {
		this.colKey = colKey;
	}

	public Boolean getNullable() {
		return nullable;
	}

	public void setNullable(Boolean nullable) {
		this.nullable = nullable;
	}

	public Integer getColPosition() {
		return colPosition;
	}

	public void setColPosition(Integer colPosition) {
		this.colPosition = colPosition;
	}

	public String getDataDefault() {
		return dataDefault;
	}

	public void setDataDefault(String dataDefault) {
		this.dataDefault = dataDefault;
	}

	public String getColComment() {
		return colComment;
	}

	public void setColComment(String colComment) {
		this.colComment = colComment;
	}

}
